package com.example.houduan.Service.Impl;

import com.example.houduan.Mapper.AccountMapper;
import com.example.houduan.Pojo.Account;
import com.example.houduan.Pojo.Permission;
import com.example.houduan.Service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    AccountMapper accountMapper;

    @Override
    public Account getAccountByUnameAndPwd(String uname, String pwd) {
        return accountMapper.selectAccountByUnameAndPwd(uname,pwd);
    }


}
